package com.dao;

import com.model.CustomerAccount;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface CustomerAccountMapper {
    int deleteByPrimaryKey(Long id);

    int insert(CustomerAccount record);

    int insertSelective(CustomerAccount record);

    CustomerAccount selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CustomerAccount record);

    int updateByPrimaryKey(CustomerAccount record);

    CustomerAccount selectByCustomerId(@Param("customerId") Long customerId);
}